package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catelog2Vo {
    private String catalog1Id; //1级父分类
    private List<catalog3Vo> catalog3List;//3级子分类
    private String id;
    private String name;

    /**
     * 3级分类Vo
     */
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class catalog3Vo{
        private String catalog2id;//2级分类ID
        private String id;
        private String name;
    }
}
